#pragma once
#include "CRecordItem.h"
#include "CLComLibrarys_global.h"
//CLCOMLIBRARYS_EXPORT

class CLCOMLIBRARYS_EXPORT CRecordInfo
{
public:
	CRecordInfo();
	CRecordInfo(const CRecordInfo& other);
	CRecordInfo& operator=(const CRecordInfo& other);

	~CRecordInfo();
public:
	void SetOpIndex(int nIndex);
    void SetOpDesc(CLComString desc);

	void AddRecordItem(CRecordItem& item);

public:
	int GetOpIndex();
    CLComString GetOpDesc();

	bool GetItem(CRecordItem& outItem, int nIndex);
private:
	int							_nOPIndex;
    CLComString					_opDesc;

	vector<CRecordItem>			_vecRecordItems;
};

